import request from '@/utils/request'

export default {
  /**
   * 获取集团id
   * @param data  userId
   */
  getfleetId (data) {
    return request({
      ContentType: 'application/json',
      url: '/scs/electricRailController/fleetId',
      method: 'post',
      data
    })
  },
  queryNumAndNameByUid (data) {
    return request({
      ContentType: 'application/json',
      url: '/scs/Subscriber/queryNumAndNameByUid',
      method: 'post',
      data
    })
  },
  /**
   * 查询当前调度员level
   * @param data
   */
  //TODO
  queryUserLevelInfo (data) {
    return request({
      ContentType: 'application/json',
      url: '/scs/fleetManage/queryAgent',
      method: 'post',
      data
    })
  }
}
